package com.hopes.bizz.close.visitor.controller;

import com.hopes.bizz.close.visitor.service.ClosedAppVisitorService;
import com.hopes.boss.common.core.util.R;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 移动端 接口
 * @time 2024/2/5 14:14
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("/apply" )
@Tag(description = "apply" , name = "移动端相关接口" )
@SecurityRequirement(name = HttpHeaders.AUTHORIZATION)
public class ClosedAppVisitorController {


    private final ClosedAppVisitorService closedAppVisitorService;

    /**
     * 移动端 我的待审核
     */
    @Operation(summary = "我的待审核", description = "我的待审核")
    @GetMapping("/todoAudit")
    public R getAppApplyTodoAudit() {
        return R.ok(closedAppVisitorService.queryAppApplyTodoAudit());
    }


}
